<?php
$fromurl = $_SERVER['HTTP_REFERER'] ? $_SERVER['HTTP_REFERER'] : 'http://www.loopo.cn/';
if (strpos($fromurl, 'www.loopo') === false || strpos($fromurl, 'xml') !== false) $fromurl = '/shopcar/checkout';
?>
<small>Request succeed. Now loading...</small>
<meta http-equiv="refresh" content="0;URL=<?php echo $fromurl?>">
<script type="text/javascript">location.href="<?php echo $fromurl?>"</script>
